package com.leon.rose.modules.upms.service.impl;

import com.leon.rose.modules.upms.entity.SysResources;
import com.leon.rose.modules.upms.mapper.SysResourcesMapper;
import com.leon.rose.modules.upms.service.ISysResourcesService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import java.util.List;
import org.springframework.stereotype.Service;

/**
 * <p>
 * 资源菜单 服务实现类
 * </p>
 *
 * @author Leon
 * @since 2019-05-05
 */
@Service
public class SysResourcesServiceImpl extends ServiceImpl<SysResourcesMapper, SysResources> implements ISysResourcesService {

  @Override
  public List<SysResources> listByUserId(Integer userId) {
    return baseMapper.listByUserId(userId);
  }
}
